package com.spi.soconversion.orders.conversion;

public enum InstallBaseFulfillmentMethod {
	CARRY("000001_Customer_P_CARRY","PICK"),
	DCPICK("000001_Customer_P_HBCDCPU","PICK"),
	STOREPU("000001_Customer_P_STOREPU", "PICK"),
	GND("000001_Home Deliv_T_GND", "DEL"),
    STORESTOCK("000001_Home Deliv_T_STORESTOCK", "DEL");
			
	private String code;
	private String displayText;
			
	private InstallBaseFulfillmentMethod(String code,String displayText) {
		this.code= code;
		this.displayText=displayText;
	}
			
	public static String getMCFFulfillmentMethod(String cofiValue) {
		for (InstallBaseFulfillmentMethod fm : InstallBaseFulfillmentMethod.values()) {
			if (fm.code.equals(cofiValue)) {
				return fm.displayText;
			}
		}
		return null;
	}
}
